package com.dzl.integral.service;

import com.dzl.integral.pojo.WelfareIntegralGrantRecordRel;
import com.dzl.base.service.BaseService;

import java.math.BigDecimal;

/**
 * 积分分发记录表与积分充值记录表中间表(WelfareIntegralGrantRecordRel)表服务接口
 *
 * @author caobucao
 * @date 2021-09-07 16:54:38
 */
public interface WelfareIntegralGrantRecordRelService extends BaseService<WelfareIntegralGrantRecordRel> {

    /**
     * 查询这条充值记录的已分发总积分
     * @date 2021/9/7 17:07
     * @author caobucao
     * @param recordId 充值记录id
     * @return java.math.BigDecimal
     */
    BigDecimal selectSumTotalGrantIntegral(Integer recordId);
}
